#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
 * @Auther: lizhx
 * @Date: ${DATE} ${HOUR}:${MINUTE}
 * @Description: 
 */
public class ${NAME} {
	public static final String HOLDER_SUFFIX = ":holder";
	public static final String LOCK_KEY_SUFFIX = ":lock";
	/**
	 * 用户模块
	 */
	private static final String U_ = "u:";
	/**
	 * 主播模块
	 */
	private static final String H_ = "h:";
	/**
	 * 通话模块
	 */
	private static final String C_ = "c:";
	/**
	 * 视频模块（直播）
	 */
	private static final String V_ = "v:";
	/**
	 * 视频模块主播端服务
	 */
	private static final String VIDEO_HOST = V_ + "h:";
	/**
	 * 视频模块主播端服务的开播接口：LockKey
	 */
	private static final String VIDEO_HOST_START_LOCK = V_ + "h:"+"stl:";
	/**
	 * 视频模块主播端服务的开播接口：LockKeyHolder
	 */
	private static final String VIDEO_HOST_START_LOCK_HOLDER = V_ + "h:"+"stlh:";

	/**
	 * 视频模块主播端服务的关播接口：LockKey
	 */
	private static final String VIDEO_HOST_STOP_LOCK = V_ + "h:"+"spl:";
	/**
	 * 视频模块主播端服务的关播接口：LockKeyHolder
	 */
	private static final String VIDEO_HOST_STOP_LOCK_HOLDER = V_ + "h:"+"splh:";

	/**
	 * 视频模块主播端服务的统计增加主播的金币数：LockKey
	 */
	private static final String VIDEO_HOST_INCREINCOME_LOCK = V_ + "h:"+"iil:";
	/**
	 * 视频模块主播端服务的统计增加主播的金币数：LockKeyHolder
	 */
	private static final String VIDEO_HOST_INCREINCOME_LOCK_HOLDER = V_ + "h:"+"iilh:";

	/**
	 * 视频模块主播端服务的开播接口：LockKey
	 * @param hostId 主播ID作为LockKey
	 * @return
	 */
	public static String getVideoHostStartLock(String hostId) {
		return VIDEO_HOST_START_LOCK+hostId+LOCK_KEY_SUFFIX;
	}
	/**
	 * 视频模块主播端服务的开播接口：LockKeyHolder
	 * @param holder 线程号作为reqId即holder
	 * @return
	 */
	public static String getVideoHostStartLockHolder(String holder) {
		return VIDEO_HOST_START_LOCK_HOLDER+holder+HOLDER_SUFFIX;
	}
	/**
	 * 视频模块主播端服务的关播接口：LockKey
	 * @param hostId 主播ID作为LockKey
	 * @return
	 */
	public static String getVideoHostStopLock(String hostId) {
		return VIDEO_HOST_STOP_LOCK+hostId+LOCK_KEY_SUFFIX;
	}
	/**
	 * 视频模块主播端服务的关播接口：LockKeyHolder
	 * @param holder 线程号作为reqId即holder
	 * @return
	 */
	public static String getVideoHostStopLockHolder(String holder) {
		return VIDEO_HOST_STOP_LOCK_HOLDER+holder+HOLDER_SUFFIX;
	}
	/**
	 * 视频模块主播端服务的统计增加主播的金币数：LockKey
	 * @param hostId 主播ID作为LockKey
	 * @return
	 */
	public static String getVideoHostIcreIncomeLock(String hostId) {
		return VIDEO_HOST_INCREINCOME_LOCK+hostId+LOCK_KEY_SUFFIX;
	}
	/**
	 * 视频模块主播端服务的统计增加主播的金币数：LockKeyHolder
	 * @param holder 线程号作为reqId即holder
	 * @return
	 */
	public static String getVideoHostIcreIncomeLockHolder(String holder) {
		return VIDEO_HOST_INCREINCOME_LOCK_HOLDER+holder+HOLDER_SUFFIX;
	}



}
